/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package marifnst.jse71.working_with_java_data_types;

/**
 *
 * @author arifnasution
 */
public class Driver
{
    public static void main(String args[]) {
        // WorkingWithJavaDataTypes
        WorkingWithJavaDataTypes workingWithJavaDataTypes = new WorkingWithJavaDataTypes();
        
        // Call methods on objects
        workingWithJavaDataTypes.setStringVariable( "string value" );
        workingWithJavaDataTypes.setIntVariable( 10 );
        workingWithJavaDataTypes.setFloatVariable( 20 );
        
        // Manipulate data using the StringBuilder class and its methods
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append( "string_1" );
        stringBuilder.append( " string_2" );
        stringBuilder.append( " string _3" );
        
        System.out.println("sample object : " + workingWithJavaDataTypes.getStringVariable());
        System.out.println("sample StringBuilder : " + stringBuilder.toString());
    }
}
